package com.javafactroy.kunlong.liteflow;

import com.javafactroy.kunlong.common.utils.CommonUtils;
import com.yomahub.liteflow.core.NodeComponent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component("c")
@Slf4j
public class CCmp extends NodeComponent {

    @Override
    public void process() {
        //do your business
        System.out.println("执行组件c");
        LiteContext context = getContextBean(LiteContext.class);
        log.info("exec c={}", CommonUtils.toJSONString( context));
    }
}
